<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ page import="zozopo.operations.comm.*" %>
<%@page import="zozopo.operations.user.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>费用支出  - Office Automation(办公自动化)系统</title>

  </head>
  <style>
	<!--
	table {
	table-layout: fixed;
	word-wrap:break-word;
	}
	td{
		
		word-break:break-all;
	}
	
	BODY {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-FAMILY: arial,san serif
}
	//-->
</style>
  <body>
  
  <table width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr>
  		<td valign="top">
  			<jsp:include page="/background/operator/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr>
  		<td valign="top">
  	<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 		<tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">
    		 
    		
    		
    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
		  	<jsp:include page="/background/operator/left.jsp"></jsp:include>
				 
				 
				
     	</td>
     	
     	
     	<td valign="top" >
     <table border="0" cellpadding="0" cellspacing="0" >
    	 <tr>
     		<td>
     	
     	</td>
     		</tr>
 <tr>
     		<td>
<form action="addoutlay.action" method="post" accept-charset="UTF-8" id="addaddressbookForm" name="addaddressbookForm"> 
				<s:token />
     <table border="0" cellpadding="0" cellspacing="0"  width="100%">
    	 <tr>
     		<td width="100%">
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>添加费用支出
				<input type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectuserlimited_warehouse.action?limitedCode=<s:property value="limitedcode"/>')"/>
     				
     			</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
 		<tr>
     		<td>
     			<FONT color="red"><s:property value="operationResult"/></FONT>
     			<s:fielderror id="errormessage" />
     			<br/>
     			
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff;" class="bottomline">					
					<tr>
						<td width="100"> 支出类型:</td>
						<td>
							<select id="kind_outlay" name="kind_outlay">
								<%
									DictionaryOS dictionaryOS = new DictionaryOS();
									Map<String,DictionaryTB> dictionaryKindMap = dictionaryOS.getDictionaryCodeMapByKind("OA.OUTLAY");
									Iterator iter = dictionaryKindMap.entrySet().iterator();
									while(iter.hasNext()){ 
										Map.Entry entry = (Map.Entry)iter.next();
										DictionaryTB dictionary	= (DictionaryTB)entry.getValue();
										
										//if(dictionary.getDictionary_code().equals("MANUAL.LABLE.OTHER")) continue;
								%>
									<option value="<%=dictionary.getDictionary_code() %>"><%=dictionary.getDictionary_value() %></option>
									
								<%
								
									}
									dictionaryOS.releaseConnection();
								%>
							</select>
							
						
						</td>
						<td></td>
						
					</tr>
					<tr>
					
						<td width="100">费用:</td>
						<td width="200"><input type="text" id="total_outlay" name="total_outlay" size="20" maxlength="128"/></td>
						<td ></td>
					</tr>
					
					<tr>
						<td>描述/备注:</td>
						<td><textarea id="remark_outlay" name="remark_outlay" ></textarea></td>
						<td></td>
					</tr>
					

				</table>
			

	</td>
     		</tr>
     		 <tr>
     		<td>
     			<button type="submit">添加到费用支出</button>
		
     	</td>
     	</tr>
     	
     	
     	
     	</table>
     	</form>
	</td>
     		</tr>
     		 <tr>
     		<td>
     		
		
     	</td>
     	</tr>
     	
     	
     	
     	</table>
	</td>
</tr>

</table>
  		</td>
  	</tr>
  	<tr>
  		<td valign="bottom">
  			<jsp:include page="/manual/tail.jsp"></jsp:include>
  		
  		</td>
  	</tr>
  
  </table>
  </body>
</html>
